import WxMpTemplateData from './wxMpTemplateData';
import WxMpTemplateMessageMiniProgramData from './wxMpTemplateMessageMiniProgramData';

/**
 * 微信公众号模板消息
 */
export default class WxMpTemplateMessage {
  /**
   * 模板ID
   */
  public templateId: string = '';

  /**
   * 模板跳转链接
   */
  public url?: string;
  /**
   * 页面ID
   */
  public page?: string;
  /**
   * 小程序数据
   */
  public miniProgram?: WxMpTemplateMessageMiniProgramData;
  /**
   * 数据列表
   */
  public data: WxMpTemplateData[] = [];
}
